//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="ZUPMRTBM")]
		public class ZUPMRTBMEntity: EntityObject
		{


#region Field
				private	string _PMR_CFM="";
				private	string _PMR_CONT="";
				private	DateTime _PMR_DATE=DateTime.MinValue;
				private	string _PMR_NO="";
				private	string _PMR_RMKS="";
				private	string _PMR_STATUS="";
				private	string _PMR_TAG="";
				private	string _PMR_TITLE="";
				private	string _PMR_USER="";
				private	string _UID_CODE="";
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//ZUPMRTBM,PMR_CFM
				//</Summary>
				public string PMR_CFM
				{
					get { return _PMR_CFM; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PMR_CFM)
							{
								_PMR_CFM = value; 
								this.PropertyChange("PMR_CFM");
							}
						}else{
							_PMR_CFM = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,PMR_CONT
				//</Summary>
				public string PMR_CONT
				{
					get { return _PMR_CONT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PMR_CONT)
							{
								_PMR_CONT = value; 
								this.PropertyChange("PMR_CONT");
							}
						}else{
							_PMR_CONT = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,PMR_DATE
				//</Summary>
				public DateTime PMR_DATE
				{
					get { return _PMR_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PMR_DATE)
							{
								_PMR_DATE = value; 
								this.PropertyChange("PMR_DATE");
							}
						}else{
							_PMR_DATE = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,PMR_NO
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string PMR_NO
				{
					get { return _PMR_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PMR_NO)
							{
								_PMR_NO = value; 
								this.PropertyChange("PMR_NO");
							}
						}else{
							_PMR_NO = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,PMR_RMKS
				//</Summary>
				public string PMR_RMKS
				{
					get { return _PMR_RMKS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PMR_RMKS)
							{
								_PMR_RMKS = value; 
								this.PropertyChange("PMR_RMKS");
							}
						}else{
							_PMR_RMKS = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,PMR_STATUS
				//</Summary>
				public string PMR_STATUS
				{
					get { return _PMR_STATUS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PMR_STATUS)
							{
								_PMR_STATUS = value; 
								this.PropertyChange("PMR_STATUS");
							}
						}else{
							_PMR_STATUS = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,PMR_TAG
				//</Summary>
				public string PMR_TAG
				{
					get { return _PMR_TAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PMR_TAG)
							{
								_PMR_TAG = value; 
								this.PropertyChange("PMR_TAG");
							}
						}else{
							_PMR_TAG = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,PMR_TITLE
				//</Summary>
				public string PMR_TITLE
				{
					get { return _PMR_TITLE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PMR_TITLE)
							{
								_PMR_TITLE = value; 
								this.PropertyChange("PMR_TITLE");
							}
						}else{
							_PMR_TITLE = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,PMR_USER
				//</Summary>
				public string PMR_USER
				{
					get { return _PMR_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PMR_USER)
							{
								_PMR_USER = value; 
								this.PropertyChange("PMR_USER");
							}
						}else{
							_PMR_USER = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,UID_CODE
				//</Summary>
				public string UID_CODE
				{
					get { return _UID_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UID_CODE)
							{
								_UID_CODE = value; 
								this.PropertyChange("UID_CODE");
							}
						}else{
							_UID_CODE = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//ZUPMRTBM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
